# FogMod — Simplified Chinese Translation Patch (v0.2.3)

**English | [简体中文见下方](#简体中文说明)**

---

## Revision — please download the latest file

**v1.1 (2026-10-02) — critical fix.**
An earlier build mistakenly translated three internal identifier strings
(`CreateAssetfollowingSFX(`, `PlayCutsceneToPlayerAndWarp`, and the PARAM
field name `EnableFastTravelEventFlagId`). Those strings are consumed by the
mod's own parser and by its game-data lookups, so the randomizer threw an
exception during "Writing game data" and **never wrote the output files** —
the game would launch with unrandomized fog gates.

The translation is now restricted to display text only; all identifier strings
are verified to be back in English. If you downloaded the file before
2026-10-02, please re-download.

## Requirement — read this first

This is a **translation patch only**. It contains a single file: the localized `FogMod.exe`.

**You must install the original mod first:**

> **Elden Ring Fog Gate Randomizer** by **thefifthmatt**
> <https://www.nexusmods.com/eldenring/mods/428>

This patch is built for **original mod version v0.2.3**. It will not work with other versions.

---

## What this does

The original mod's UI text is hardcoded inside the program — there is no language file to swap. This patch replaces those UI strings in place, so the **interface becomes Simplified Chinese**.

- **Functions, randomization logic, and data files are 100% unchanged**
- The patched `FogMod.exe` is **byte-for-byte the same size** as the original (13,042,372 bytes)
- Terminology follows the **official Simplified Chinese localization** of Elden Ring
  (赐福 Grace / 雾门 Fog Gate / 追忆 Remembrance / 大卢恩 Great Rune / 黄金树 Erdtree /
  幽影树 Scadutree / 圣杯瓶 Flask / 铃珠 Bell Bearing / 神授塔 Divine Tower / 监牢 Gaol / 锻造遗迹 Forge …)

---

## Installation

### Manual (simple)

1. Install **Elden Ring Fog Gate Randomizer v0.2.3** as usual
2. Back up the original file: rename `fog\FogMod.exe` to `FogMod.exe.orig`
3. Copy the `FogMod.exe` from this patch into the same `fog\` folder
4. Run it

### Vortex / Mod Manager

Install the original mod first, then use **"Install from file"** / drag-and-drop this archive into Vortex and choose *"Replace"* when asked (or set the patch to load after the original mod).

### Uninstall

Delete the patched `FogMod.exe` and rename your `FogMod.exe.orig` back to `FogMod.exe`.

---

## Known limitation

In the **"其他设置" (Other options)** group, the bottom edge of the group box overlaps the last line of text by about **21 px**.

This is a **layout issue in the original mod** (the WinForms `AutoSize` measurement comes out slightly smaller than what actually gets painted). The original English UI is cut off in the same place — it is not caused by this translation, and it does not affect any functionality.

Deliberately left in English:

- **Options** in the menu bar — it is the same string as an internal .NET settings property name; translating it causes a `SettingsPropertyNotFoundException` at startup
- Program version metadata (`CompanyName`, `FileDescription`, …) — part of the executable's resource table

---

## Coverage

- **572 strings translated** — mode descriptions, category headers, option labels and help text, buttons, prompts, error/status messages, and the bundled Dark Souls 1/3 mode content
- A full scan after patching confirms the only remaining English strings are the PE version-resource keys listed above (not user-facing) plus a few runtime string-concatenation fragments

---

## Credits

- **Original mod and all credit: thefifthmatt** — this is only a UI translation
  - Mod page: <https://www.nexusmods.com/eldenring/mods/428>
  - Discord: <https://discord.gg/QArcYud>
  - Ko-fi: <https://ko-fi.com/thefifthmatt>
- If you enjoy the mod, please **endorse the original** on its mod page

**Disclaimer:** Unofficial fan translation, provided for personal use. All rights to the original mod belong to its author. I will remove this patch immediately upon the author's request.

---

## Feedback

Found a missing or awkward translation? Please report **the location in the UI** (which mode / which option group / nearby text) — and a screenshot if possible. Every string can be pinpointed and fixed precisely, and I will publish a corrected version.

---

## 简体中文说明

**这是汉化补丁，不是完整 mod。必须先在 N 网安装原版：**

> **Elden Ring Fog Gate Randomizer**（作者 thefifthmatt）
> <https://www.nexusmods.com/eldenring/mods/428>

本补丁对应**原版 v0.2.3**。

### 安装

1. 先正常安装原版 v0.2.3
2. 把 `fog\FogMod.exe` 改名为 `FogMod.exe.orig` 备份
3. 用本补丁里的 `FogMod.exe` 覆盖到同一个 `fog\` 目录
4. 运行

### 说明

- **只汉化界面**，功能、随机逻辑、数据文件与原版完全一致
- 汉化后的文件与原版**逐字节等长**（13,042,372 字节）
- 术语对齐《艾尔登法环》官方简体中文
- 全量扫描确认：**界面文案已全部汉化（572 条）**，包含模式说明、选项与说明、按钮、错误与状态消息、以及内置的黑魂 1/3 模式内容；剩余英文仅为 PE 版本资源键与少量运行时拼接片段（非界面内容）

### 修订记录（请用最新版）

**v1.1（2026-10-02）— 重要修复。**
早期版本误翻了 3 条**程序内部标识符**（`CreateAssetfollowingSFX(`、
`PlayCutsceneToPlayerAndWarp`，以及 PARAM 字段名 `EnableFastTravelEventFlagId`）。
这些字符串会被 mod 自己的解析器与游戏数据查找使用，导致随机器在"写出游戏数据"
阶段抛异常、**输出文件根本没生成** —— 结果就是进游戏后雾门并没有随机。

现在汉化范围已限定为**纯显示文案**，所有标识符字符串均已核验恢复为英文。
如果你是在 2026-10-02 之前下载的，请重新下载。

### 已知小瑕疵

「其他设置」选项组底边沿会压住最后一行文字约 21px。这是**原版 mod 自身的排版问题**（WinForms AutoSize 测量偏差），英文原版同样如此，**不影响任何功能**。

菜单栏的 **Options** 有意保留英文：它与程序内部配置项名是同一字符串，翻译后会导致启动报错。

### 致谢

原 mod 及一切功劳归**作者 thefifthmatt**。喜欢的话请去原版页面点个 Endorse。

**免责**：非官方个人汉化，仅供交流学习。作者如有异议会立即删除。
